package ycl.common.models.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import ycl.common.base.entity.BaseEntity;
import ycl.common.constants.BaseConstant;
import ycl.common.models.BaseEntityRes;

import java.time.LocalDateTime;

/**
 * 记录基类实体
 *
 * @author: YCL
 * @date: 2021-08-23 20:26:14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class BaseRecordEntityRes extends BaseEntityRes {

	private static final long serialVersionUID = -2871188062877283805L;

	@ApiModelProperty("修改时间")
	@JsonFormat(pattern = BaseConstant.DATE_TIME_PATTERN ,timezone = BaseConstant.DATE_TIME_GMT8)
	private LocalDateTime updateTime;


	@ApiModelProperty("修改用户")
	private Long updateUser;
}
